package com.kaifamiao.month05.day06;

public class TestThread {

    public static void main(String[] args) {
        Cook cook = Cook.getInstance();
        MakeThread mt = new MakeThread(cook, "御品轩");

        EatThread et1 = new EatThread(cook, "张三");
        EatThread et2 = new EatThread(cook, "李四");
        EatThread et3 = new EatThread(cook, "王五");

        mt.start();
        et1.start();
        et2.start();
        et3.start();



    }
}
